<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:replace="~{common/head::head}"></div>
<div class="right">
    <div class="location">
        <strong>当前位置:</strong>
        <span>用户管理页面 >> 用户查看详情页面</span>
    </div>
    <div class="supplierView">
        <p><strong>用户编号：</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>[[${sysUser.account }]]</span></p>
        <p><strong>账号：</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>[[${sysUser.realName }]]</span></p>
        <p><strong>性别：</strong>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <!--  <span>
            		<c:if test="${sysUser.sex == 1 }">男</c:if>
					<c:if test="${sysUser.sex == 2 }">女</c:if>
				</span>-->
            <span th:if="${sysUser.sex==1}">女</span>
            <span th:if="${sysUser.sex==2}">男</span>
        </p>
        <p><strong>出生日期：</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>[[${sysUser.birthday}]]</span></p>
        <p><strong>手机号码：</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>[[${sysUser.phone }]]</span></p>
        <p><strong>地址：</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>[[${sysUser.address }]]</span></p>
        <p><strong>角色：</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>[[${sysUser.roleId == 1 ? '系统管理员' : sysUser.roleId == 2 ? '店长' : '店员'}]]</span></p>
        <div class="supplierAddBtn">
            <input type="button" id="back" name="back" value="返回" >
        </div>
    </div>
</div>
</section>
</div>
<div th:replace="~{common/foot::foot}"></div>
<script type="text/javascript" th:src="@{/js/sysUser/view.js}"></script>

</body>
</html>